import { defHttp } from '/@/utils/http/axios';
import { message } from 'ant-design-vue';
let yewuApi = {
	bizOperatorsList: '/bizOperators/list?column=createTime&order=desc&pageNo=1&pageSize=100',
	bizChargeStationList: '/bizChargeStation/list?column=createTime&order=desc&pageNo=1&pageSize=100',
};

// 用户行为分析-概览分析-顶部平均值查询 year
export const getgetTopAvgValue = (params) => {
	return defHttp.get({ url: '/overview/analysis/getTopAvgValue', params });
};
// 用户行为分析-概览分析-充电量趋势分析 year
export const getchargingCapacityTrendAnalysis = (params) => {
	return defHttp.get({ url: '/overview/analysis/chargingCapacityTrendAnalysis', params });
};

// 用户行为分析-概览分析-用户充电时长分析
export const getchargingTimeAnalysis = (params) => {
	return defHttp.get({ url: '/overview/analysis/chargingTimeAnalysis', params });
};
// 用户行为分析-概览分析-充电时段分析
export const getchargingPeriodAnalysis = (params) => {
	return defHttp.get({ url: '/overview/analysis/chargingPeriodAnalysis', params });
};
// 用户行为分析-概览分析-常用充电桩功率统计
export const getchargingStakeAnalysis = (params) => {
	return defHttp.get({ url: '/overview/analysis/chargingStakeAnalysis', params });
};
//用户行为分析-概览分析-充电起止SOC
export const getchargingStartEndSOC = (params) => {
	return defHttp.get({ url: '/overview/analysis/chargingStartEndSOC', params });
};